algorithm to check number is armstrong number or not

welcome to shbcf.ru